import cv2
import matplotlib.pyplot as plt

img = cv2.imread("img/tian.png", 0)

result = cv2.Laplacian(img, -1, ksize=3)

plt.subplot(121)
plt.imshow(img, cmap="gray")
plt.subplot(122)
plt.imshow(result, cmap="gray")
plt.show()
